<?php
/**
 * Created by PhpStorm.
 * User: kai.yang
 * Date: 2019-01-05
 * Time: 07:58
 */

namespace Base\Controller;


use Think\Controller;

class PermissionController extends Controller
{
    public function _initialize(){
        $loginVo=session('loginVo');
        if(empty($loginVo)){
            $this->redirect("/Home/Index");
        }else{
            $this->assign('loginVo',$loginVo);
        }
    }


}